package com.hong.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.hong.domain.Student;
import com.hong.dto.QueryStudentPageDTO;
import com.hong.dto.QueryStudentResultVO;

public interface StudentService {

    int deleteByPrimaryKey(Integer id);

    int insert(Student record);

    PageInfo<QueryStudentResultVO> getPage(QueryStudentPageDTO param);


    Boolean insertOrUpdate(Student record);

    int insertOrUpdateSelective(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

    int updateBatch(List<Student> list);

}
